package com.aaa.web.service.ipermissionservice;

import com.aaa.entity.Permission;
import com.aaa.web.commons.EmpQuery;
import com.aaa.web.commons.Result;

import java.util.List;
import java.util.Map;

public interface IPermissionService {

    List<Permission> getAllPermission();

    List<Map> getPermission(EmpQuery query);

    Result updatePerState(Integer id);

    Result editPer(Permission permission);
}
